package wan.com.templateproject.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

/**
 * @author wan
 * @version 1.0.0
 * @Description 测试job
 * @createTime 2021年11月15日 17:57:31
 */
@Slf4j
//@Component
@DisallowConcurrentExecution
public class JobImpl implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info("测试job正在执行》》》》》》》》》》》》");
    }

}
